package src;

import java.util.Comparator;

public class Comparer implements Comparator{
	public int compare(Object obj1, Object obj2)
    {			
            float i1 = (float)((Variation)obj1).weight;
            float i2 = (float)((Variation)obj2).weight;
            if(i2>i1){return 1;}
            else {return -1;}
    }
}
